<table class='imageconfigtable'>
    <tr><td><input type='text' id='watermark_width_<?=$id?>' placeholder='宽' style="width: 100px"/></td><td><input style="width: 100px" type='text' id='watermark_height_<?=$id?>' placeholder='高'/></td></tr>
    <tr><td colspan='2'><?=\yii\helpers\Html::radioList('watertype_' . $id, 'null', ['null'=>'无水印','wenzi' => '文字水印', 'tupian' => '图片水印'])?></td></tr>
    <tr><td colspan='2'><div class='watermark-content_<?=$id?>' style='border:1px solid #948C8C;padding:5px;background: #f8f8f8;display:none;'>
                <h4 style='margin-top: 0px;'>水印设置</h4>
                <div class='watermark-text-set'>水印文字：<input type='text' id='watermark_text_<?=$id?>' style='float:none;'/></div>
                <div class='watermark-image-set'>水印图片：<button id='watermark_choose_<?=$id?>'>图片选择</button><input style='float:none;' type='text' id='watermark_url_<?=$id?>'/></div>
                <div>透明度：<input type='text' style='float:none;' id='transparency_<?=$id?>'/>%</div>
                <div>水印位置：<?=\yii\helpers\Html::dropDownList('watermarkpos_' . $id, '1', ['1' => '左上', '2' => '中上', '3' => '右上', '4' => '左中', '5' => '中中', '6' => '右中', '7' => '左下', '8' => '中下', '9' => '右下'],['style'=>'float:none'])?></div>
            </div>
        </td>
    </tr>
    <tr><td colspan='2'>
            <input type='button' id='confirmconfig_<?=$id?>' value='配置完成'/>
        </td> </tr>
</table>
<div id="bg"></div>
<div  id='waterimglistdiv' closed='true' style="display:none;width:520px;max-height:500px;overflow:auto;">
    <h4>请选择水印图片<a href="#" class="close">关闭</a></h4>
    <div style="text-align:left;padding:5px 0;" class="waterlistshow">
        <br/><div id='waterimages'></div><br/><br/>
        <div style="float:left;margin-left:20px;"><button id="waterimgconfirm" style="font-weight: bold;padding: 3px 9px;">确认</button></div><div id='waterimgappend2' style="text-align:center;width: 60px;float:left;left:10px">
            <img src="<?=$addfilelogo?>" width="50px" height="50px" style="margin-top:-12px;"/>
        </div>
    </div>
</div>
